package facade;

public class Fund {
    Stock1 stock1;
    Stock2 stock2;
    Stock3 stock3;
    NationalDebt debt;
    Realty realty;

    public Fund() {
        stock1 = new Stock1();
        stock2 = new Stock2();
        stock3 = new Stock3();
        debt = new NationalDebt();
        realty = new Realty();
    }

    public void buyFund() {
        stock1.Buy();
        stock2.Buy();
        stock3.Buy();
        debt.Buy();
        realty.Buy();
    }

    public void sellFund() {
        stock1.Sell();
        stock2.Sell();
        stock3.Sell();
        debt.Sell();
        realty.Sell();
    }

}
